//
//  EFADevMapTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/7/12.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DeviceListModel.h"

@class EFADevMapTCell;
@protocol EFADevMapTCellDelegate <NSObject>
@optional
- (void)devMapTCell:(EFADevMapTCell *)cell naviBtnTapped:(UIButton *)btn;
@end

@class EFADeviceListItem;
@interface EFADevMapTCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIButton *iconBtn;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UIButton *naviBtn;
@property (weak, nonatomic) id<EFADevMapTCellDelegate>delegate;
@property (strong, nonatomic) NSArray *iconItem;


- (void)configViewWithEFADeviceListItem:(DeviceListItem *)item;

@end

@class EFAPjtListItem;
@interface EFADevMapTCell (ProjectRelative)
- (void)configViewWithPjtListItem:(EFAPjtListItem *)item;
@end
